<template>
  <div class="agentDialog">
    <fns-dialog>
      <div slot="slot1">
        <el-row>
          <el-col :span="11">
            <fns-input v-model="value1" :params="params1" v-on:getVal="getVal"></fns-input>
          </el-col>

          <el-col :span="11" :offset="1">
            <fns-input v-model="value2" :params="params2" v-on:getVal="getVal"></fns-input>
          </el-col>
        </el-row>
      </div>
    </fns-dialog>
  </div>
</template>

<script>
  import fnsDialog from './dialog'
  import fnsInput from '@/components/input'
  export default {
    props: {
    },
    computed: {
    },
    watch: {
    },
    components: {
      fnsDialog,
      fnsInput
    },
    data() {
      return {
        value1: '管理员',
        params1: {
          label: '管理员',
          placeholder: '请输入管理员',
          maxlength: 10,
          disabled: false,
          clearable: true
        },
        value2: '',
        params2: {
          label: '管理员',
          placeholder: '请输入管理员',
          maxlength: 10,
          disabled: false,
          clearable: true
        }
      }
    },
    methods: {
      getVal() {
        console.log(this.value1)
        console.log(this.value1)
      },
      inputClick(e) {
        console.log(this.fnsvalue)
        console.log(33, e)
        this.$emit('input', e)
      }
    }
  }
</script>

<style scoped>

</style>
